//小仓库：layout组件相关配置的仓库

import { defineStore } from "pinia";

const useLayoutSettingStore = defineStore("settingStore", {
  state: (): {
    fold: boolean;
    refresh: boolean;
  } => {
    return {
      fold: false, // 是否折叠
      refresh: false, // 是否刷新
    };
  },
});

export default useLayoutSettingStore;
